home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Graphics⁄Sound / crit / items.h < prev    next >
Encoding:
C/C++ Source or Header  |  1987-05-23  |  881 b   |  40 lines  |  [TEXT/????]

  1. /*
  2.  * items.h - menu item definitions.
  3.  *
  4.  * NEEDS: menu.h
  5.  * Owned by: menu.c
  6.  */
  7.  
  8. #define APPLEMENU    1    /* Menu ID for Apple menu    */
  9. #define FILEMENU     2    /* File                */
  10. #define EDITMENU     3    /* Edit                */
  11. #define VOICEMENU     4    /* Voice Setup menu        */
  12. #define LASTMENU     4    /* Number of menus        */
  13.  
  14.     /* items in the Apple menu    */
  15. #define AP_ABOUT    1    /* About...            */
  16.  
  17.     /* Items in the File menu    */
  18. #define IQUIT        1    /* quit the program        */
  19.  
  20.     /* items in the Edit menu    */
  21. #define UNDOEDIT    1    /* Undo                */
  22. /*----2----*/
  23. #define CUTEDIT        3    /* Cut                */
  24. #define COPYEDIT    4    /* Copy                */
  25. #define PASTEEDIT    5    /* Paste            */
  26. #define CLEAREDIT    6    /* Clear            */
  27.  
  28.     /* items in the Voice menu    */
  29. #define VO_SETUP    1    /* Setup the Voice parameters    */
  30.  
  31. /*
  32.  * mymenus[] - indexed by menu number, mymenus[] contains the handle for
  33.  * each menu.
  34.  */
  35.  
  36. #ifndef DATA
  37. extern
  38. #endif
  39. MenuHandle mymenus[LASTMENU + 1];
  40.